package chat

import "encoding/json"

type Message struct{
	From string `json:from`
	To string `json:to`
	Body string `json:body`
}

func (m *Message)String() string{

	r,_:=json.Marshal(m)
	return  string(r)

}
